/*
 * AgentResponse.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.bean.Goods;
import com.yidiandao.business.data.bean.Shop;

import java.util.List;

/** 我的 个人代理商品信息 */
public class AgentResponse extends PagerResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("count")
        private int count;

        @SerializedName("goods_list")
        private List<Agent> agent;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<Agent> getAgent() {
            return agent;
        }

        public void setAgent(List<Agent> agent) {
            this.agent = agent;
        }

        public static class Agent {

            @SerializedName("supplier")
            private Shop shop;

            @SerializedName("goods_list")
            private List<Goods> goodsList;

            public Shop getShop() {
                return shop;
            }

            public void setShop(Shop shop) {
                this.shop = shop;
            }

            public List<Goods> getGoodsList() {
                return goodsList;
            }

            public void setGoodsList(List<Goods> goodsList) {
                this.goodsList = goodsList;
            }
        }
    }
}
